<template>
    <video id="backgroundVideo" autoplay loop muted>
        <source src="../../../assets/login/back.mp4" type="video/mp4">
        您的浏览器不支持HTML5 video标签。
    </video>
</template>
<script>
    export default {
        name: "viedobg",
    }
</script>
<style scoped lang="scss">
#backgroundVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
} 

</style>